<?php

namespace App\Trip\Plane\Interfaces\Factories;

use App\Trip\Enums\Plane\PlaneProviders;
use App\Trip\Plane\Interfaces\PlaneQueryInterface;

interface PlaneQueryFactoryInterface
{
    public function findOneByProvider(PlaneProviders $provider): PlaneQueryInterface;

    /**
     * 51book 查询工厂
     * @return PlaneQueryInterface
     */
    public function Book51Query(): PlaneQueryInterface;

    /**
     * qunar 查询工厂
     * @return PlaneQueryInterface
     */
    public function QunarQuery(): PlaneQueryInterface;
}